
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>还款申请</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
    </style>

</head>

<body class="white-bg" style="padding: 3px;">
    <div class="page-heade">
       <h2 class="title_color text-center">还款申请</h2>
    </div>
    <form action="" class="form-inline" id="form1">
        <table class="table table-bordered bud_hei text-center">
            <tr>
                <td style="width: 200px;">申请人：</td>
                <td class="text-left">蔡启豪</td>
                <td style="width: 200px;">申请人部门：</td>
                <td class="text-left">华中大区</td>
                <td style="width: 200px;">申请日期：</td>
                <td class="text-left" id="applytime">2017-12-19</td>
            </tr>
            <tr>
                <td>实际还款人 <span class="colorRed">*</span>:</td>
                <td class="text-left">蔡启豪</td>
                <td>还款人部门:</td>
                <td class="text-left">华中大区</td>
                <td>还款日期 <span class="colorRed">*</span>：</td>
                <td class="text-left"><input type="text" name="" class="form-control layer-date" id="start" value=""></td>
            </tr>
             <tr>
              <td>实际还款人当前借款余额(元)：</td>
              <td class="text-left" colspan="5">100.00</td>
            </tr>
            <tr>
              <td>当前还款中金额(元)：</td>
              <td class="text-left" colspan="5">0.00</td>
            </tr>
             <tr>
              <td>本次最多需还款金额(元)：</td>
              <td class="text-left" colspan="5">100.00</td>
            </tr>
            <tr>
               <td>还款金额(元)<span class="colorRed">*</span>:</td> 
               <td class="text-left">
                  <input type="text" name="" class="form-control">
               </td> 
                  <td>还款方式<span class="colorRed">*</span>:</td>
               <td class="text-left">
                   <select class="form-control select">
                       <option value="0">请选择</option>
                       <option value="1">现金</option>
                       <option value="2">货补</option>
                       <option value="3">转账</option>
                   </select>
               </td>
            </tr>
            <tr>
                <td>备注：</td>
                <td class="text-left" colspan="5">
                      <textarea class="form-control" style="resize: none;height: 60px;width: 60%"></textarea><span style="vertical-align: bottom;">(500)</span>
                </td>
            </tr>
        </table>
        <div class="form-group white-bg" style="margin:20px 10px 20px 20px;">
            <div id="uploader" class="wu-example">
                <!--用来存放文件信息-->
                <div id="thelist" class="uploader-list">
                                   </div>
                <div class="btns">
                    <div id="picker">选择文件</div>
                    <button id="ctlBtn" class="btn btn-default">开始上传</button>
                </div>
                <input type="hidden" name="attach" id="attach"  >
            </div>
            <span>注：最多上传15个文件，每个文件小于50M,支持格式：</span><br>jpg,bnp,gif,png,jpeg,tif,raw,doc,docx,xls,xlsx,ppt,pptx,txt,pdf,rar,zip,mp4,avi,rmvb,rm,mid,3gp,AVI,3GP,,mpg,mp3,wma,wav
        </div>

        <div class="padding-10 text-center"><button class="btn btn-primary" type="submit">保存为草稿</button><span class="lr_5"></span><button class="btn btn-success" type="button">保存并提交工作流</button><span class="lr_5"></span><button class="btn btn-warning" type="button" id="fanhui">返回</button></div>
    </form>
  
    
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })

        $("#start").val(laydate.now())
          $('#fanhui').on('click',function () {
//                    parent.layer.close(parent.layer.getFrameIndex(window.name))
                    parent.location.reload();
                    return false
                })
    })
</script>
<script>
    laydate({
        elem:"#start",
         min: laydate.now(), //设定最小日期为当前日期
         max: '2099-06-16 23:59:59', //最大日期
         event:"focus"
    })
    getNowFormatDate();
    $("#applytime").html(getNowFormatDate())
   function getNowFormatDate() {
    var date = new Date();
    var seperator1 = "-";
    var month = date.getMonth() + 1;
    var strDate = date.getDate();
    if (month >= 1 && month <= 9) {
        month = "0" + month;
    }
    if (strDate >= 0 && strDate <= 9) {
        strDate = "0" + strDate;
    }
    var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
    return currentdate;
}
</script>
</body>

</html>